#ifndef ZIGBEELISTXML_H
#define ZIGBEELISTXML_H

#include <QObject>
#include <QStringList>
#include "BaseXml.h"
#include "DataType/ZigbeeStruct.h"

class ZigbeeListXml : public BaseXml<ZigbeeListXml>
{
public:

    friend class BaseXml<ZigbeeListXml>;

    bool parser();
    bool modify(const quint8 &number, const ZigbeeStruct &zigbee);
    bool clear();

    QList<ZigbeeStruct> zigbeeList(const QList<ControlPointStruct> &sourcePointList);

private:
    enum{PointMaxSize = 15};
    ZigbeeListXml();
    QList<ZigbeeStruct> m_zigbeeList;

};

#endif // ZIGBEELISTXML_H
